package com.mes.cloud.dto.extral;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 角色用户拓展bean
*/
@ApiModel(value = "UserRoleRefExtralDTO", description = "用户角色")
@Data
public class RoleUserRefExtralDTO implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "关联id", dataType = "String")
    private Long id;

    @ApiModelProperty(value = "用户ID", dataType = "Long")
    private Long userId;

    @ApiModelProperty(value = "角色ID", dataType = "Long")
    private Long roleId;

    @ApiModelProperty(value = "用户编号", dataType = "String")
    private String userNo;

    @ApiModelProperty(value = "员工姓名", dataType = "String")
    private String name;

    @ApiModelProperty(value = "联系电话", dataType = "String")
    private String phone;

    @ApiModelProperty(value = "邮箱", dataType = "String")
    private String email;

    @ApiModelProperty(value = "主要角色", dataType = "Long")
    private Long mainRoleId;

    @ApiModelProperty(value = "主要职位", dataType = "Long")
    private Long mainPostId;

    @ApiModelProperty(value = "主要组织", dataType = "Long")
    private Long mainOrgId;

    @ApiModelProperty(value = "创建时间", dataType = "Date")
    private Date crtdate;

    @ApiModelProperty(value = "修改时间", dataType = "Date")
    private Date upddate;

    @ApiModelProperty(value = "描述", dataType = "String")
    private String remark;

    @ApiModelProperty(value = "0正常/1删除", dataType = "Integer")
    private Integer isDelete;

    @ApiModelProperty(value = "0正常/1禁用", dataType = "Integer")
    private Integer isEnable;

    @ApiModelProperty(value = "状态01在职 02离职", dataType = "String")
    private String status;

    @ApiModelProperty(value = "类型01正式员工、02非正式员工", dataType = "String")
    private String userType;

    @ApiModelProperty(value = "别名", dataType = "String")
    private String userAlias;

    @ApiModelProperty(value = "Base地区", dataType = "String")
    private String baseAddr;

    @ApiModelProperty(value = "数据来源", dataType = "String")
    private String dataSource;

    }
